package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.CourseCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @author 勾新杰
 * @version 1.0
 * @description 课程分类树形结构Dto
 * @date 2024/12/18 10:15
 */
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "课程分类树形结构DTO")
public class CourseCategoryTreeDTO extends CourseCategory implements Serializable {
    @ApiModelProperty("子结点")
    List<CourseCategoryTreeDTO> childrenTreeNodes;
}
